package lab02.test04;

import java.util.Scanner;

public class Test04 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Employee em = new Employee();
        System.out.println("请输入员工姓名：");
        em.setEname(sc.next());
        System.out.println("请输入员工工号：");
        em.setEno(sc.next());
        System.out.println("请输入员工电话：");
        em.setEphone(sc.next());
        System.out.println("请输入员工基本工资：");
        em.setEmoney(sc.nextFloat());
        System.out.println("请输入员工工资增长：");
        em.setEgrowth(sc.nextFloat());
        em.moneyGrowth();
        em.allMoney();
    }
}
